<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>用户登录</title>
</head>
<body>
  
  用户名：
  <input type="text" id="txt_username">
</label>

<label>
  密码：
  <input type="password" id="txt_password">
</label>

<button id="btnLogin">登录</button>
|
<a href="reg.html">我要注册</a>
|
<a href="main.html">用户首页</a>

<hr>
<span id="spLogin"></span>

  <script type="module" src="./login.js"></script>
</body>
</html>